/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 29489
 * Date: 2023-03-15
 * Time: 22:25
 */
import java.util.*;
public class Test {
//    public static void main(String[] args) {
//        List <Book>books=new ArrayList<Book>();
//        Scanner in=new Scanner(System.in);
//        for(int i=0;i<5;i++)
//        {    String str=in.nextLine();
//            String []data=str.split(",");
//            Book book=new Book(data[0],Integer.parseInt(data[1]),data[2],Integer.parseInt(data[3]));
//            books.add(book);
//        }
//
//        System.out.println(totalprice(books));
//    }
//
//    /*计算所有book的总价*/
//    public static int totalprice(List <Book>books)
//    {  int result=0;
//        for(int i=0;i<books.size();i++){result+=books.get(i).getPrice();}
//        return result;
//    }
//    public static void main(String[] args) {
//
//        Scanner sc=new Scanner(System.in);
//        int n=sc.nextInt();
//
//        int array[]= new int[n];
//
//        for(int i=0;i<n;i++)
//        {
//            array[i]=sc.nextInt();
//        }
//
//        MyArrays.printArray(array);//显示数组的内容
//        MyArrays.sortArray(array);    //对数组元素排序
//        MyArrays.printArray(array);//显示排序后的结果
//        int sum=MyArrays.sumOfArray(array);//数组元素求和
//        System.out.println(sum);//显示数组元素的和
//
//    }
//    public static void main(String[] args) {
//        TDVector a = new TDVector();  /* 无参构造，向量的x和y默认为0 */
//        Scanner sc = new Scanner(System.in);
//        double x,y,z;
//        x = sc.nextDouble();
//        y = sc.nextDouble();
//        z = sc.nextDouble();
//        TDVector b = new TDVector(x, y);  /* 按照参数构造向量的x和y */
//        TDVector c = new TDVector(b);  /* 按照向量b构造向量 */
//        a.setY(z);
//        System.out.println(a);
//        System.out.println(b);
//        System.out.println(c);
//        c.setX(z);
//        a = b.add(c);
//        System.out.println(a);
//        System.out.println("b.x="+b.getX()+" b.y="+b.getY());
//        sc.close();
//    }
//    public static void main(String[] args){
//        Scanner sc = new Scanner(System.in);
//        int n = sc.nextInt();
//        for(int i=0;i<n;i++){
//            Student s = new Student(sc.next(),sc.nextInt(), sc.nextInt());
//        }
//        System.out.println("number of male students:" + Student.getMaleCount() );
//        System.out.println("number of female students:" + Student.getFemaleCount() );
//    }
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int id = in.nextInt();
        String name = in.next();
        double balance = in.nextDouble();
        double annualInterestRate = in.nextDouble();
        Account account = new Account(id, name, balance, annualInterestRate);
        account.withdraw(2500);
        account.deposit(3000);
        account.print();
        in.close();
    }
}
